Fix bug #17047 with cursor motion when invisible text starts a line.
authorEli Zaretskii <eliz@gnu.org>
Sun, 23 Mar 2014 15:57:25 +0000 (17:57 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 23 Mar 2014 15:57:25 +0000 (17:57 +0200)
commite5220e65022a4755ba6e8e0d0fa4829b021c8c9f
treee74ff371a31c33154394ef6b347ad8339eeb3de9
parent080bf14c12e062dea1da3f2b7768cbc4059f435a
Fix bug #17047 with cursor motion when invisible text starts a line.

 src/xdisp.c (redisplay_window): If all previous attempts to find the
 cursor row failed, try a few alternatives before falling back to
 the top-most row of the window.  Use row_containing_pos.
src/ChangeLog
src/xdisp.c